package deanUI;

import java.awt.Graphics;
import java.awt.Image;

import javax.swing.ImageIcon;
import javax.swing.*;
public class Background extends JPanel{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	public void paintComponent(Graphics g){
		Image image=new ImageIcon("picture\\background.jpg").getImage();
		g.drawImage(image,0,0,this);
	}

}
